home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-14 | 521 b | 44 lines |
- #
- #
- # Makefile
- #
-
- CC=CC
- YFLAGS = -d
-
- .SUFFIXES: .o .c .y .l .s .C
- #
- PROG=qtest
- #
- # C++ rules
- #
- .C.o:
- $(CC) $(CFLAGS) -c $*.C
-
- .C.a:
- $(CC) -c $(CFLAGS) $<
- ar rv $@ $*.o
- rm -f $*.o
-
-
- RJSROOT=../..
- RJSDIR=$(RJSROOT)/RJS
- RLIB = $(RJSDIR)/$(MACHINE)/libString.a
- CFLAGS= -I$(RJSROOT)
-
- .PRECIOUS: $(RLIB)
-
- HEADER=Regex.h
- OBJECTS=$(RLIB)(Regex.o) $(RLIB)(GNUregex.o)
-
- library: $(RLIB) $(RJSDIR)/$(HEADER)
-
- $(RLIB) : $(OBJECTS)
- ranlib $(RLIB)
-
- $(RJSDIR)/$(HEADER): $(HEADER)
- cp $(HEADER) $(RJSDIR)
-
- clean:
- rm -f *.o core
-